import http from '../../utils/request'

export async function getAllExamInfo( ) {
  return http.request({
    url: '/teacher/allExamInfo',
    method: 'get',
  })
}
export async function getUserById(userId) {
  return http.request({
    url: `/teacher/getUserById/${userId}`,
    method: 'get',
  })
}
export async function getExamRecord(params) {
    return http.request({
      url: '/teacher/getExamRecord',
      method: 'get',
      params
    })
  }
  